# -*- coding: utf-8 -*-

${h.start_form(h.url(action='create'))}
<div id="divFmAdd">
 <table id="tbadd" width="100%" class="BoxCenterAdd">
    <tr><td colspan='3' class='info'>Добавление номенклатуры в карточку</td></tr>
    <tr><td width="10%"><b>Пользователь: </b></td><td>
        <input name="user_id" id="user_id" type="hidden">
        <input id="username" size="40" name="username" disabled="disabled" class="BoxCenter" type="text">
        <input type="button" value="..." onClick='window.open("../users/select","","scrollbars=yes,width=600,height=480")' class="BoxCenter">
    </td><td><div id='name' class='error'></td></tr>    
    <tr><td></td><td>
        <input type="button" value="Добавить информационный ресурс" onClick='window.open("../biblio/select","","toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=800,height=480");' class="BoxCenter">
    </td></tr>
    <tr><td width="20%"><b>Дата закрытия заказа: </b>(yy-mm-dd)</td><td>
        <input name='order_expiry_date' value='' size='10' class='BoxCenter' type='text'>
    </td><td><div id='order_expiry_date' class='error'></td></tr>    

    <tr><td></td><td>
    
    <input value="Закрыть" class="BoxCenter" onclick='document.getElementById("add").innerHTML="";' align="alleft" type="reset">

   <input value="Сохранить" type="submit" class="BoxCenter">
 </td></tr>
 </table>
</div>
${ h.end_form() }
